package com.sunzr0119.conventioncentertemplatebackend.dao;

import com.sunzr0119.conventioncentertemplatebackend.entity.File;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface FileDAO extends MongoRepository<File, String> {
    public List<File> findByUploaderId(String uploaderId);
    public void deleteById(String id);
}
